﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Assets.Content.Scripts.DateBase;
using Assets.Content.Scripts.UI.Start;
using UnityEngine;

namespace Assets.Content.Scripts.Game
{
    class Player : MonoBehaviour
    {
        private static Player _admin;
        public static Player Instance
        {
            get { return _admin; }
        }


        public PlayerData PlayerData;
        private void Awake()
        {
            _admin = this;
            PlayerData = AccessPlayerDate.LoadPlayerDate();
        }
    }
}